
#include "stdafx.h"

#include "../../dlguif/dlguif/loader.h"
using namespace dlguif;

#include <iostream>
using std::cout;
using std::cerr;
using std::endl;





int _tmain(int argc, _TCHAR* argv[])
{
	Loader loader(L"j:/dlguif/dlguif/delphi_dll_project/dlguif.dll");
	void* form = loader.CreateForm("caption", "myform", 10, 10, 800, 600);
	loader.ShowForm(form);

	loader.Run();

	//while( loader.GetControlVisible(form) )
	//{
	//	loader.ProcessMessages();
	//	Sleep(1);
	//}

	return 0;
}